package com.myblog.services;

import com.baomidou.mybatisplus.extension.service.IService;
import com.myblog.domain.GlobalResponse;
import com.myblog.domain.dto.GetUserDto;
import com.myblog.domain.dto.UserDto;
import com.myblog.domain.entity.User;


/**
* @author Administrator
* @description 针对表【sys_user(用户表)】的数据库操作Service
* @createDate 2022-09-27 09:25:26
*/
public interface UserService extends IService<User> {

    GlobalResponse getUserInfo();


    GlobalResponse updateUserInfo(User user);

    GlobalResponse register(User user);

    GlobalResponse addUser(UserDto userDto);

    GlobalResponse deleteUser(Long id);

    GlobalResponse getUser(Long id);

    GlobalResponse updateUser(GetUserDto user);
}
